<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的咨讯</title>
<script
	src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="/CdutPostBar/js/page.js"></script>
</head>
<body>
	<table>
		<tr>
			<th><label>咨讯名称</label></th>
			<th><label>发布时间</label></th>
			<th><label>操作</label></th>
		</tr>
		<c:forEach items="${page.getList() }" var="news">
			<tr>
				<td><label>${news.name }</label></td>
				<td><label>${news.begindate }</label></td>
				<td><form action="../news/lookUpNewsInformation.action"><input type="hidden" name="unumber" value="${news.unumber }"><input type="submit" value="查看"></form></td>
			</tr>
		</c:forEach>
	</table>
	<div id="pageSpace"></div>
	<a href="../pages/toCreatNewsPage.action">创建资讯</a>
	<script type="text/javascript">
		var pc = $
		{
			page.pageCount
		};
		var pn = $
		{
			page.pageNum
		};
		$(document).ready(function() {
			initPageDiv(pc, pn, "../news/fingNewsByAuthorId.action");
		});
	</script>
</body>
</html>